package cn.com.yx.ms.persistence;

import cn.com.yx.ms.application.web.ApiQueryBase;
import cn.com.yx.ms.domain.dbmodel.LiveConfigMain;
import cn.com.yx.ms.domain.live.LiveConfigMainModel;
import cn.com.yx.ms.domain.live.LiveDevModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LiveConfigMainMapper {
    int deleteByPrimaryKey(String guid);

    int insert(LiveConfigMain record);

    int insertSelective(LiveConfigMain record);

    LiveConfigMain selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(LiveConfigMain record);

    int updateByPrimaryKey(LiveConfigMain record);

    String getMaxConfigName(@Param("tableName")String tableName,@Param("colName")String colName,@Param("moduleName")String moduleName);

    List<LiveConfigMainModel> findLiveConfigs(ApiQueryBase query);


}